package com.nameless.feign;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.nameless.entity.Client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author keluoyisi
 * @program: car-parent
 * @description:
 * @date 2023-02-27 21:03:54
 */
@FeignClient(value = "car-customer")
public interface ClientFeign {
    @PostMapping("/client/api/selectId/{id}")
    Client selectId(@PathVariable Integer id);

    @PostMapping("/client/api/selectUsername/{name}")
    Client selectName(@PathVariable String name);
}
